P+ - Donkey Kong - Subroutine - 0x2dc58
- if (BoolIsTrue RandomAccessBool(SpecialsMovement))
- BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
- UnknownEvent { namespace: 0x8, code: 0x1, unk1: 0x0, arguments: [Value(2)] }
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan scalar(0.25)))
- IfStatementAnd ((InternalConstantInt(PreviousControlStickXAxisAbsolute) LessThan scalar(0.25)))
- IfStatementAnd (OnGround)
- FloatVariableSet { variable: RandomAccessFloat (0x7), value: InternalConstantInt(HorizontalCharacterVelocity) }
- FloatVariableMultiply { variable: RandomAccessFloat (0x7), value: -1 }
- BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
- AddVelocity { x_vel: Variable(RandomAccessFloat(Address(7))), y_vel: Constant(0.0) }
- BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }
- if (not(OnGround))
- FloatVariableSet { variable: LongtermAccessFloat (0x6), value: InternalConstantInt(HorizontalCharacterVelocity) }
- FloatVariableSet { variable: LongtermAccessFloat(CurryAngle1), value: InternalConstantInt(VerticalCharacterVelocity) }